package net.ericaro.neodocs;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/** Annotates a local variable that has too many different values in the scope. 
 * 
 *  <pre> 
 *  &#064;wayTooVersatile
 *  OpenableObject  stuff  = null;
 *  if ( isOk() ) stuff = new OkStuff();
 *  if (isReady() ) stuff = new EmptyContainer();
 *  
 *  if( stuff != null) stuff.open();
 *  </pre>
 * 
 * @author eric
 *
 */
@Retention(RetentionPolicy.SOURCE)
@Target(ElementType.LOCAL_VARIABLE)
public @interface WayTooVersatile {
	String value() default "";
}
